//
//  HomeModel.m
//  CookProjecs
//
//  Created by 李家瑞 on 16/3/9.
//  Copyright © 2016年 李家瑞. All rights reserved.
//

#import "HomeModel.h"

@implementation HomeModel


- (id)initWithDicForModel:(NSDictionary *)dic
{
    
    self.title = [dic objectForKey:@"title"];
    self.ids = [[dic objectForKey:@"ids"] integerValue];
    self.urlStr = [dic objectForKey:@"urlStr"];
    
    return self;
}

+ (id)withDicForModel:(NSDictionary *)dic
{
    return [[self alloc]initWithDicForModel:dic];
}
@end
